package com.example.administrator.familfinalcialmanagement.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by 86178 on 2019/11/26.
 * author mogen
 * 用心，成就一切。
 */

public class StroeBean implements Serializable{
    /**
     * msg : success
     * code : 0
     * last : 10
     * like : app
     * type_id : null
     * goodsList : [{"id":17,"name":"Apple iPhone XS Max (A2104) 256GB 深空灰色 移动联通电信4G手机 双卡双待","pro_business":"Apple厂家","count":46513,"price":8899,"type_id":1,"img":null,"good_id":0,"type_name":"Apple"},{"id":22,"name":"测速","pro_business":"","count":100,"price":15,"type_id":1,"img":"/sc_master/upload/20191123093823838XCB.png","good_id":0,"type_name":"Apple"}]
     * begin : 0
     * pageBean : {"totalPageCount":1,"pageSize":10,"recordCount":2,"currPageNo":1,"key":null,"value":null,"key1":null,"value1":null,"endRow":10,"startRow":0}
     */

    private String msg;
    private int code;
    private int last;
    private String like;
    private Object type_id;
    private int begin;
    private PageBeanBean pageBean;
    private List<GoodsListBean> goodsList;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public int getLast() {
        return last;
    }

    public void setLast(int last) {
        this.last = last;
    }

    public String getLike() {
        return like;
    }

    public void setLike(String like) {
        this.like = like;
    }

    public Object getType_id() {
        return type_id;
    }

    public void setType_id(Object type_id) {
        this.type_id = type_id;
    }

    public int getBegin() {
        return begin;
    }

    public void setBegin(int begin) {
        this.begin = begin;
    }

    public PageBeanBean getPageBean() {
        return pageBean;
    }

    public void setPageBean(PageBeanBean pageBean) {
        this.pageBean = pageBean;
    }

    public List<GoodsListBean> getGoodsList() {
        return goodsList;
    }

    public void setGoodsList(List<GoodsListBean> goodsList) {
        this.goodsList = goodsList;
    }

    public static class PageBeanBean implements Serializable{
        /**
         * totalPageCount : 1
         * pageSize : 10
         * recordCount : 2
         * currPageNo : 1
         * key : null
         * value : null
         * key1 : null
         * value1 : null
         * endRow : 10
         * startRow : 0
         */

        private int totalPageCount;
        private int pageSize;
        private int recordCount;
        private int currPageNo;
        private Object key;
        private Object value;
        private Object key1;
        private Object value1;
        private int endRow;
        private int startRow;

        public int getTotalPageCount() {
            return totalPageCount;
        }

        public void setTotalPageCount(int totalPageCount) {
            this.totalPageCount = totalPageCount;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getRecordCount() {
            return recordCount;
        }

        public void setRecordCount(int recordCount) {
            this.recordCount = recordCount;
        }

        public int getCurrPageNo() {
            return currPageNo;
        }

        public void setCurrPageNo(int currPageNo) {
            this.currPageNo = currPageNo;
        }

        public Object getKey() {
            return key;
        }

        public void setKey(Object key) {
            this.key = key;
        }

        public Object getValue() {
            return value;
        }

        public void setValue(Object value) {
            this.value = value;
        }

        public Object getKey1() {
            return key1;
        }

        public void setKey1(Object key1) {
            this.key1 = key1;
        }

        public Object getValue1() {
            return value1;
        }

        public void setValue1(Object value1) {
            this.value1 = value1;
        }

        public int getEndRow() {
            return endRow;
        }

        public void setEndRow(int endRow) {
            this.endRow = endRow;
        }

        public int getStartRow() {
            return startRow;
        }

        public void setStartRow(int startRow) {
            this.startRow = startRow;
        }
    }

    public static class GoodsListBean implements Serializable{
        /**
         * id : 17
         * name : Apple iPhone XS Max (A2104) 256GB 深空灰色 移动联通电信4G手机 双卡双待
         * pro_business : Apple厂家
         * count : 46513
         * price : 8899.0
         * type_id : 1
         * img : null
         * good_id : 0
         * type_name : Apple
         */

        private int id;
        private String name;
        private String pro_business;
        private int count;
        private double price;
        private int type_id;
        private Object img;
        private int good_id;
        private String type_name;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPro_business() {
            return pro_business;
        }

        public void setPro_business(String pro_business) {
            this.pro_business = pro_business;
        }

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        public int getType_id() {
            return type_id;
        }

        public void setType_id(int type_id) {
            this.type_id = type_id;
        }

        public Object getImg() {
            return img;
        }

        public void setImg(Object img) {
            this.img = img;
        }

        public int getGood_id() {
            return good_id;
        }

        public void setGood_id(int good_id) {
            this.good_id = good_id;
        }

        public String getType_name() {
            return type_name;
        }

        public void setType_name(String type_name) {
            this.type_name = type_name;
        }
    }
}
